#ifndef __ROTATEANIMATOR_H__
#define __ROTATEANIMATOR_H__

#include "../../include/ISceneNodeAnimator.h"

class CRotateAnimator : public ISceneNodeAnimator
{
protected:
	vector3dvpos RotIni;
	vector3dvpos RotFin;
	u32 TimeToWork;
	u32 TimeBegin;
	u32 Elapsed;
public:
	CRotateAnimator(vector3dvpos &RotationIni,vector3dvpos &RotationFin,u32 Time);
	virtual ~CRotateAnimator();

	virtual bool AnimateNode(u32 Time,ISceneNode *Node);
};

#endif
